package org.jiuling.wechat.publicplatform.model;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.List;

/**
 * @author 紫灵
 * @date 2022年04月23日 17时44分40秒
 */
public class OpenIdList {

    private Long total;
    private Long count;
//    @JSONField(deserializeUsing = Data.class)
    private Data data;
    @JSONField(name = "next_openid")
    private String nextOpenid;

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }

    public Long getCount() {
        return count;
    }

    public void setCount(Long count) {
        this.count = count;
    }

    public Data getData() {
        return data;
    }

    public void setData(Data data) {
        this.data = data;
    }

    public String getNextOpenid() {
        return nextOpenid;
    }

    public void setNextOpenid(String nextOpenid) {
        this.nextOpenid = nextOpenid;
    }

    static class Data{
        private List<String> openid;

        public List<String> getOpenid() {
            return openid;
        }

        public void setOpenid(List<String> openid) {
            this.openid = openid;
        }
    }
}
